﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LinqToLfsWorld
{
	/// <summary>
	/// Describes various options that were enabled at the time the hotlap was recorded.
	/// </summary>
	[Flags]
	[Serializable]
	public enum HotlapFlags : int
	{
		/// <summary>
		/// Left-hand drive view is enabled
		/// </summary>
		LeftHandDrive = 1,

		/// <summary>
		/// Automatic gears is enabled
		/// </summary>
		AutomaticGears = 8,

		/// <summary>
		/// The driver is using an H-shifter
		/// </summary>
		Shifter = 16,

		/// <summary>
		/// Braking help is enabled
		/// </summary>
		BrakeHelp = 64,

		/// <summary>
		/// The driver is using an axis-clutch
		/// </summary>
		AxisClutch = 128,

		/// <summary>
		/// Auto-clutch is enabled
		/// </summary>
		AutoClutch = 512,

		/// <summary>
		/// Mouse-steer is enabled
		/// </summary>
		MouseSteer = 1024,

		/// <summary>
		/// Keyboard steer (with no help) is enabled
		/// </summary>
		KeyboardNoHelp = 2048,

		/// <summary>
		/// Keyboard steer (stabilised) is enabled
		/// </summary>
		KeyboardStabilised = 4096
	}
}
